package cn.edu.cqu.bysj.services;

import java.util.List;

import cn.edu.cqu.bysj.domains.TicketPrice;

public interface TicketPriceCRUD
{
	public void add(TicketPrice ticketPrice);
	
	public TicketPrice getByNo(int ticketPriceNo);
	public List<TicketPrice> getByTrainNo(String trainNo);
	public TicketPrice getByTrainStationNo(String trainNo,String StationNo);
	public List<TicketPrice> getAll();
	
	public void edit(int ticketPriceNo,TicketPrice ticketPrice);
	
	public void deleteByTrainNo(String trainNo);
	public void deleteByNo(int ticketPriceNo);
	public void deleteAll();
}
